﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236

namespace Weather3
{
    public sealed partial class UserControl1 : UserControl
    {
        public UserControl1()
        {
            this.InitializeComponent();
        }

        public ImageSource WeatherNightIcon
        {
            get { return imgNight.Source; }
            set { imgNight.Source = value; }
        }
        public ImageSource WeatherWhiteIcon
        {
            get { return imgWhite.Source; }
            set { imgWhite.Source = value; }
        }

        public string DateTime
        {
            get { return txtDateTime.Text; }
            set { txtDateTime.Text = value; }
        }

        public string Status1
        {
            get { return txtStatus1.Text; }
            set { txtStatus1.Text = value; }
        }
        public string Status2
        {
            get { return txtStatus2.Text; }
            set { txtStatus2.Text = value; }
        }
        public string Temperature1
        {
            get { return txtTemperature1.Text; }
            set { txtTemperature1.Text = value; }
        }

        public string Tg1
        {
            get { return txtTg1.Text; }
            set { txtTg1.Text = value; }
        }
        public string Tgd1
        {
            get { return txtTgd1.Text; }
            set { txtTgd1.Text = value; }
        }
        public string Temperature2
        {
            get { return txtTemperature2.Text; }
            set { txtTemperature2.Text = value; }
        }

        public string Power2
        {
            get { return txtPower2.Text; }
            set { txtPower2.Text = value; }
        }

        public string Power1
        {
            get { return txtPower1.Text; }
            set { txtPower1.Text = value; }
        }

        public string Direction1
        {
            get { return txtDirection1.Text; }
            set { txtDirection1.Text = value; }
        }

        public string Direction2
        {
            get { return txtDirection2.Text; }
            set { txtDirection2.Text = value; }
        }

    }
}
